﻿#include "OperList.h"
#include "GUIDialog/GUIPhyscisDialog/ListDialogChoose.h"
#include "FITK_Kernel/FITKAppFramework/FITKAppFramework.h"
#include "FITK_Kernel/FITKAppFramework/FITKGlobalData.h"

#include "updateBrowserTable.h"

namespace ModelOper
{
    bool OperList::execGUI()
    {
        //按钮点击事件触发
        if (_emitter == nullptr) return false;
        const QString name = _emitter->objectName();
        //编辑对话框
        GUI::ListDialogChoose dlg(name);
        //更新列表
        dlg.exec();

        ModelOper::updateBrowserTable();
        return false;
    }

    bool OperList::execProfession()
    {
        return false;
    }
}